<?php
	 
?>
<script type="text/javascript">
$(document).ready(function(){
	// functions
	<?php require('library/js/validator/functions.js');?>
	
	// jumlah bij seleksi
	<?php require('library/js/form/input.biji_seleksi.js');?>
	
	// jumlah biji total
	<?php require('library/js/form/input.biji_total.js');?>
	
	// jumlah biji terima : ajax
	<?php require('library/js/form/ajax.biji_terima.js');?>
	
	// VALIDATOR
	// tandan
	<?php require('library/js/validator/form.input.label_tandan.js');?>
	
	// validation config
	<?php require('library/js/validator/config.inv_germinasi.js');?>	
	
	// germinasi, recycle, dll
	<?php require('library/js/validator/form.input.label_tandan_germinasi.js');?>	
	
	$('input#tgl_masuk').datePicker();
});

</script>
<div class="title">Jumlah Biji/Kecambah :: Germinasi</div>
<form name="frm_<?=$subbagian;?>" id="frm_<?=$subbagian;?>" method="post" action="index.php?bagian=<?=$bagian;?>&subbagian=<?=$subbagian;?>&action=confirm_edit">
    <ul>
    	<li class="header"><span>Perlakuan</span></li>
        <li><span>
            <label>Tanggal Pencacahan:</label>
            <input type="text" id="tgl_masuk" name="tgl_masuk" value="<?=$data['tgl_masuk'];?>" readonly="readonly" class="disabled"/>
        </span></li>
        <li><span>
            <label>Label Tandan:</label>
            <input type="text" id="label_tandan" name="label_tandan" value="<?=$data['label_tandan'];?>"/>
        </span></li>
	</ul>
	<ul>
		<li class="header"><span>Inventaris Biji</span></li>
        <li><span>
            <label>Jumlah Biji Diterima:</label>
            <input type="text" id="jml_biji_terima" name="jml_biji_terima" value="<?=$data['jml_biji_terima'];?>" readonly="readonly" class="disabled"/>
		</span></li>
        <li><span>
            <label>Jumlah Biji Discard:</label>
            <input type="text" id="jml_biji_discard" name="jml_biji_discard" value="<?=$data['jml_biji_discard'];?>"/>
        </span></li>
		<li><span>
            <label>Jumlah Biji Seleksi:</label>
            <input type="text" id="jml_biji_seleksi" name="jml_biji_seleksi" readonly="readonly" class="disabled" value="<?=$data['jml_biji_seleksi'];?>"/>
        </span></li>	
		<li><span>
            <label>Jumlah Biji Belum Tumbuh:</label>
            <input type="text" id="jml_biji_belum_tumbuh" name="jml_biji_belum_tumbuh" value="<?=$data['jml_biji_belum_tumbuh'];?>"/>
        </span></li>	
		<li><span>
            <label>Jumlah Biji Gagal:</label>
            <input type="text" id="jml_biji_gagal" name="jml_biji_gagal" value="<?=$data['jml_biji_gagal'];?>"/>
        </span></li>	
		<li><span>
            <label>Jumlah Biji Total:</label>
            <input type="text" id="jml_biji_total" name="jml_biji_total" readonly="readonly" class="disabled"  value="<?=$data['jml_biji_total'];?>" />
        </span></li>		
    </ul>    
    <ul>
        <li class="header"><span>Penanggung Jawab</span></li>
        <li><span>
            <label>Penanggung Jawab:</label>
            <input type="text" id="penanggung_jawab" name="penanggung_jawab" value="<?=$data['penanggung_jawab'];?>"/>
        </span></li>
	</ul>
	<ul>
		<li class="header"><span>Simpan</span></li>
		<li class="button"><span>
			<input type="submit" name="submit" id="submit" value="Simpan Data" class="simpan"/>
		</span></li>
	</ul>
</form>